package com.azusa.ktc_qa.client;

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ktc-base",fallback = LabelClientImpl.class)
public interface LabelClient {

    @GetMapping("label/{id}")
    Result findById(@PathVariable("id") String id);

}
